Updates an existing Policy, If the Policy is not found, an error is reported
Updates an existing Policy, If the Policy is not found, an error is reported
- application/json
Request Body required
- id string
- name string
- target string
- type string
payload object
property name*
object
Responses
- 200
- 400
- 403
- 404
Policy definition was updated successfully
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
{
"message": "string",
"level": "string"
}
Request body was malformed
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
- result string
{
"message": "string",
"level": "string",
"result": "string"
}
Operation denied
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
- result string
{
"message": "string",
"level": "string",
"result": "string"
}
Policy definition could not be updated, because it does not exist.
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
- result string
{
"message": "string",
"level": "string",
"result": "string"
}
Loading...